//引入axios
import request from '@/utils/request';
import type { InputNumberEmits } from 'element-plus';

//枚举地址
enum API {
    //获取SKU列表接口
    SKUURL="/admin/product/list/",
    SKUGET="/admin/product/getSkuById/"
}
//获取SKU列表
export const reqSkuList = (page:number,limit:number)=>request.get(API.SKUURL+`${page}/${limit}`);
// SKU抽屉
export const reqSkuGetList = (skuId:number)=>request.get(API.SKUGET+`${skuId}`);